# 数据类型转换

a = int("123")
print(type(a), a)
b = float("123")
print(type(b), b)

c = str(123)
print(type(c), c)

# 直接截取整数，不是四舍五入
d = int(12.56)
print(type(d), d)

d = int(12)
print(type(d), d)


print(bool(tuple()))
# False
print(tuple() is tuple)
